import request from '@/utils/request';

export async function reqTyMedicalCaseList(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyMedicalCase/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}
export async function reqV1TyMedicalCaseList(data: any, options?: any): Promise<any> {
	return request('/api/v1/seniorInquiry/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}
export async function reqAddTyMedicalCase(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyMedicalCase/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyMedicalCase(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyMedicalCase/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyMedicalCase(data: any, options?: any): Promise<any> {
	return request('/api/sys/tyMedicalCase/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


